package com.easy;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@EnableCaching//开启Spring缓存
@EnableTransactionManagement//开启事务管理
@EnableAspectJAutoProxy//开启AOP
@EnableScheduling//开启定时任务
public class easyTravelApplication {
    public static void main(String[] args) {
        SpringApplication.run(easyTravelApplication.class, args);
    }
}
